package ioctest;
import whu.study.BeanDefinition;
import whu.study.XmlConfig;

public class test1 {

    public static void main(String[] args) throws  Exception{
        XmlConfig ioc=new XmlConfig("applicationContext.xml");
        BeanDefinition user = (BeanDefinition) ioc.getBean("user");
        System.out.println(user);
    }

}
